<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<h2>Acromegalia - Scheda follow-up</h2>
<sf:form method="POST" modelAttribute="acromegaliaFollowup"
	action="crea">
	<div class="scheda-section">
	<h3>Data: <c:out value="${dataCreazione}" /></h3>
	</div>
	<div class="scheda-section">
	<h3>Terapia in atto</h3>

	<sf:checkboxes items="${terapieMediche}" path="terapieMediche"
		itemValue="idTerapiaMedica" delimiter="<br/>" />
	<br />
	<sf:textarea path="terapiaMedicaDescrizione" />
	</div>
	<div class="scheda-section">
	<h3>Controllo dell'acromegalia</h3>
	
	Ritmo del GH <sf:input path="ritmoGH[0]" />&nbsp;-&nbsp;<sf:input
		path="ritmoGH[1]" />&nbsp;-&nbsp;<sf:input path="ritmoGH[2]" />&nbsp;&mu;g/L&nbsp;&nbsp;&nbsp;IGF-1 <sf:input
		path="igf1" />&nbsp;&mu;g/L
	<br />
	OGTT per GH, glicemia e insulina<br />
	<table>
		<tr>
			<th></th>
			<th>0'</th>
			<th>30'</th>
			<th>60'</th>
			<th>90'</th>
			<th>120'</th>
		</tr>
		<tr>
			<th>GH &mu;g/L</th>
			<td><sf:input path="ogttGH[0]" /></td>
			<td><sf:input path="ogttGH[1]" /></td>
			<td><sf:input path="ogttGH[2]" /></td>
			<td><sf:input path="ogttGH[3]" /></td>
			<td><sf:input path="ogttGH[4]" /></td>
		</tr>
		<tr>
			<th>Glicemia mmol /L</th>
			<td><sf:input path="ogttGlicemia[0]" /></td>
			<td><sf:input path="ogttGlicemia[1]" /></td>
			<td><sf:input path="ogttGlicemia[2]" /></td>
			<td><sf:input path="ogttGlicemia[3]" /></td>
			<td><sf:input path="ogttGlicemia[4]" /></td>
		</tr>
		<tr>
			<th>Insulina mU/L</th>
			<td><sf:input path="ogttInsulina[0]" /></td>
			<td><sf:input path="ogttInsulina[1]" /></td>
			<td><sf:input path="ogttInsulina[2]" /></td>
			<td><sf:input path="ogttInsulina[3]" /></td>
			<td><sf:input path="ogttInsulina[4]" /></td>
		</tr>
	</table>
	</div>
	<div class="scheda-section">
	<h3>RMN ipofisi</h3>
	
	Microadenoma <sf:radiobutton path="tipoAdenoma" value="MICROADENOMA" /> / Macroadenoma <sf:radiobutton
		path="tipoAdenoma" value="MACROADENOMA" />
	<br />
	Invasivo s&igrave; <sf:radiobutton path="invasivo" value="true" /> no <sf:radiobutton
		path="invasivo" value="false" />
	<br />
	Dimensioni (mm) <sf:input path="dimensioni[0]" /> x <sf:input
		path="dimensioni[1]" /> x <sf:input path="dimensioni[2]" />
	<br />
	Altro contollo: <sf:input path="altroControlloRMNIpofisi" />
	</div>
	<div class="scheda-section">
	<h3>Patologie concomitanti</h3>
	<ul>
		<c:forEach var="entry" items="${patologie}">
			<li><c:out value="${entry}" /> <sf:checkbox
					path="patologie['${entry.idPatologie}']" value="true" />&nbsp;&nbsp;<sf:input
					path="patologieDescr['${entry.idPatologie}']" size="256" /></li>
		</c:forEach>
	</ul>
	<br />
	</div>
	<div class="scheda-section">
	<h3>Controllo delle comorbidit&agrave;</h3>
	<ul>
		<li>Ecografia della tiroide (mese/anno) <sf:input
				path="ecoTiroideMese" /> / <sf:input path="ecoTiroideAnno" /> <br />
			<sf:select path="tipoTiroide">
				<sf:options items="${tipiTiroide}" />
			</sf:select> <br /> Agoaspirato: S&igrave; <sf:radiobutton path="agoaspirato"
				value="true" /> No <sf:radiobutton path="agoaspirato" value="false" />
			<br /> <sf:textarea path="agoaspiratoDescr" />
		</li>
		<li>Colonscopia (mese/anno) <sf:input path="colonscopiaMese" />
			/ <sf:input path="colonscopiaAnno" /> <br /> <sf:select
				path="tipoColonscopia">
				<sf:options items="${tipiColonscopia}" />
			</sf:select> <br /> Istologia: S&igrave; <sf:radiobutton path="istoColonscopia"
				value="true" /> No <sf:radiobutton path="istoColonscopia"
				value="false" /> <br /> <sf:textarea path="istoColonscopiaDescr" />
		</li>
		<li>Ecocardiografia: Normale <sf:radiobutton
				path="ecocardiografia" value="N" /> Patologico <sf:radiobutton
				path="ecocardiografia" value="P" /> <br /> <sf:textarea
				path="ecocardiografiaDescr" />
		</li>
		<li>Doppler TSA: Normale <sf:radiobutton path="dopplerTSA"
				value="N" /> Patologico <sf:radiobutton path="dopplerTSA" value="P" />
			<br /> <sf:textarea path="dopplerTSADescr" />
		</li>
		<li>Ecografia addome completo: Normale <sf:radiobutton
				path="ecografiaAddome" value="N" /> Patologico <sf:radiobutton
				path="ecografiaAddome" value="P" /> <br /> <sf:textarea
				path="ecografiaAddomeDescr" />
		</li>
		<li>TC addome: Normale <sf:radiobutton path="tcAddome" value="N" />
			Patologico <sf:radiobutton path="tcAddome" value="P" /> <br /> <sf:textarea
				path="tcAddomeDescr" />
		</li>
		<li>Campo visivo: Normale <sf:radiobutton path="campoVisivo"
				value="N" /> Patologico <sf:radiobutton path="campoVisivo"
				value="P" /> <br /> <sf:textarea path="campoVisivoDescr" />
		</li>
		<li>AngioRMN cerebrale: Normale <sf:radiobutton path="angioRMN"
				value="N" /> Patologico <sf:radiobutton path="angioRMN" value="P" />
			<br /> <sf:textarea path="angioRMNDescr" />
		</li>
		<li>DEXA: Normale <sf:radiobutton path="dexa" value="N" />
			Osteopenia <sf:radiobutton path="dexa" value="P" /> Osteoporosi <sf:radiobutton
				path="dexa" value="R" />
		</li>
		<li>RX colonna: Normale <sf:radiobutton path="rxColonna"
				value="N" /> Patologico <sf:radiobutton path="rxColonna" value="P" />
			<br /> <sf:textarea path="rxColonnaDescr" />
		</li>
		<li>Altro<br /> <sf:textarea path="altroDescr" />
		</li>
	</ul>
    </div>
    <div class="scheda-section">
	<h3>Gravidanza</h3>
	Grazvidanza: S&igrave <sf:radiobutton path="gravidanza" value="true"/> No <sf:radiobutton path="gravidanza" value="false"/>
	</div>
	<div class="scheda-section">
	<h3>Deficit ipofisati</h3>
	Deficit ipofisari insorti nel follow-up
	<table>
		<tr>
			<td></td>
			<th>+</th>
			<th>-</th>
		</tr>
		<c:forEach var="entry" items="${immunoistochimiche}">
			<tr>
				<th><c:out value="${entry}" /></th>
				<td><sf:checkbox
						path="immunoIstoChimicaTrue['${entry.idImmunoistochimica}']"
						value="true" /></td>
				<td><sf:checkbox
						path="immunoIstoChimicaFalse['${entry.idImmunoistochimica}']"
						value="false" /></td>
			</tr>
		</c:forEach>
	</table>
	</div>
	<sf:button>Indietro</sf:button>&nbsp;<sf:button>Salva</sf:button>
</sf:form>
